import {ProCard, ProForm, ProFormGroup, ProFormSwitch} from "@ant-design/pro-components";
import {Input} from "antd";

function CcCard(){



    return (
        <ProCard

            title="card"
            bordered
            tooltip="tip"
            style={{maxWidth:300}}
            extra={
                <ProFormGroup>
                    <ProFormSwitch
                        name="Enable"
                        noStyle
                        checkedChildren={'启用'}
                        unCheckedChildren={'禁用'}
                    />
                </ProFormGroup>
            }
            boxShadow
            size="small"
        >

            <div>content</div>

        </ProCard>
    )
}

export default CcCard
